@charset "utf-8";
@import 'modules/base.scss';
// 头尾
@import './modules/header.scss';
@import './modules/footer.scss';
$width: 1263px, 1200px;
//sidebar
.sidebar{
    position: fixed;
    right: 0;
    top: 30%;
    z-index: 999;
    border: 1px solid #f4f4f4;
}
.cart{
    width: 96px;
    height: 96px;
    background: #fff;
    border-bottom: 1px solid #F4F4F4;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    position: relative;
    .item-icon{
        margin-left: 35px;
    }
    .text{
        position: relative;
        text-align: center;
        width: 96px;
        height: 20px;
        font-size: 14px;
        color: red;
    }
}
.sidebar-ul .item {
    width: 96px;
    height: 96px;
    background: #fff;
    border-bottom: 1px solid #F4F4F4;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    position: relative;
}
fieldset, img{
    border: 0;
}
.sidebar-ul .item .text{
    font-size: 14px;
    color: #999;
    margin-top: 11px;
}
.sidebar-ul .item .bg{
    position: absolute;
    top: 0px;
    left: -11px;
    width: 11px;
    height: 96px;
    background: transparent;
    z-index: 999;
}
.sidebar-ul .item .detail{
        position: absolute;
        top: 0;
        left: -184px;
        width: 182px;
        height: 214px;
        background: #FFFFFF;
        border-radius: 5px;
        text-align: center;
        display: none;
        box-sizing: border-box;
        cursor: default;
        border: 1px solid #f4f4f4;
}
.sidebar-ul .item .detail .list{
    width: 100%;
    height: 60px;
}
.sidebar-ul .item .detail .list .text1{
    font-size: 14px;
    padding: 10px 0;
    color: #ccc;
}
.sidebar-ul .item .detail .list .text2{
    font-size: 14px;
    padding: 10px 0;
    color: #000;
}
.sidebar-ul .item .detail .after-sales{
    width: 100%;
    height: 20px;
    float: left;
    padding-top: 20px;
    color: #0096d6;
    font-size: 14px;
    text-decoration: none;
}
.sidebar-ul .item .detail .detail-item .name {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #FD2645;
        margin-top: 25px;
        margin-bottom: 15px;
        text-decoration: none;
        color: #62A8EA;
}
.sidebar-ul .item .detail .detail-item .time {
    font-size: 12px;
    color: #999;
}
.sidebar-ul .item .detail .detail-item .hotline {
    color: #999999;
    font-size: 14px;
}
.sidebar-ul .item .detail .detail-item .phone {
    color: #333;
    font-size: 18px;
    margin: 12px auto 13px;
}
.sidebar-ul .detail .detail-item:first-child {
    margin-bottom: 30px;
}
// detail-box
.mid{
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 800px;
    margin: 0 auto;
    &-product{
        padding: 30px 0 35px;
        width: 1200px;
        height: 710px;
        height: auto;
        background: #fff;
        margin: 0 auto;
        .breadcrumbs {
        padding: 30px 0;
        color: #0a0a0a;
        font-size: 14px;
        .breadcrumbs span {
            padding-bottom: 2px;
            border-bottom: 2px solid #000;
            }
        }
        &-preview{
            margin: 0 40px 0 30px;
            width: 460px;
            height: 440px;
            float: left;
            img{
                width: 100%;
                height: 100%;
            }
            // overflow: hidden;
            &-picdetails{
                margin-top: 20px;
                width: 460px;
                height: 100px;
                ul{
                    height: 78px;
                    overflow: hidden;
                    li{
                        float: left;
                        position: relative;
                        width: 78px;
                        height: 74px;
                        margin-right: 10px;
                        z-index: 999;
                        border: 1px solid #fff;
                        &:hover{
                            border-color: #017ed1;
                            a{
                                border-color: #017ed1;
                            }
                        }
                        img{
                            width: 100%;
                            height: 100%;
                        }
                        a{
                            display: inline-block;
                            width: 74px;
                            height: 70px;
                            border: 2px solid #fff;
                            overflow: hidden;
                        }
                    }
                    .active{
                        border-color: #017ed1;
                        a{
                            border-color: #017ed1;
                        }
                    }
                }
               
                
            }
        }
        &-info{
            width: 579px;
            height: auto;
            float: left;
            overflow: hidden;
            &-name{
                width: 100%;
                line-height: 36px;
                font-size: 28px;
                color: #333;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }
            &-tips{
                padding: 22px 0 0;
                width: 100%;
                font-size: 14px;
                color: #aaa;
                line-height: 15px;
            }
            &-price{
                padding: 20px 0 15px;
                width: 100%;
                height: auto;
                .pord-dispri{
                    color: #f74f4a;
                    font-size: 30px;
                    line-height: 31px;
                    font-weight: bold;
                    float: left;
                }
                .pord-orpri{
                    padding-left: 5px;
                    font-size: 16px;
                    line-height: 38px;
                    text-decoration: line-through;
                    color: #999;
                    float: left;
                }
            }
            &-detailbox{
                width: 100%;
                margin-top: 30px;
                height: 60px;
                line-height: 60px;
                border-top: 1px dashed #eee;
                border-bottom: 1px dashed #eee;
                font-size: 14px;
                .pord-sold{
                    width: 310px;
                    color: #999;
                    height: 100%;
                    float: left;
                    span{
                        color: #333;
                    }
                }
            }
            &-spec{
                width: 100%;
                margin-top: 10px;
                height: 60px;
                line-height: 60px;
                border-top: 1px dashed #eee;
                border-bottom: 1px dashed #eee;
                font-size: 14px;
                overflow: hidden;
                label{
                    color: #888;
                    padding-top: 5px;
                    float: left;
                }
                ul{
                    width:500px;
                    margin-left: 40px;
                    // overflow: hidden;     
                    li{
                        float: left;
                        margin: 0 auto;
                        margin-left: 10px;
                        margin-right: 20px;
                        margin-top: 20px;
                        border: 1px solid #017ed1;
                        color: #333;
                        width: 50px;
                        height: 20px;
                        text-align: center;
                        line-height: 20px;
                        cursor: pointer;
                        overflow: hidden;
                        li img{
                            width: 100%;
                            height: 100%;
                        }
                    }          
                }
            }
            &-btn{
                &-num{
                    width: 100%;
                    margin-top: 10px;
                    height: 60px;
                    line-height: 60px;
                    border-top: 1px dashed #eee;
                    border-bottom: 1px dashed #eee;
                    font-size: 14px;
                    overflow: hidden;
                    label{
                        padding-top: 10px;
                        color: #888;
                        float: left;
                    }
                    .pord-num{
                        margin-top: 10px;
                        margin-left: 42px;
                        float: left;
                        .sub{
                            width: 34px;
                            height: 36px;
                            line-height: 36px;
                            text-align: center;
                            display: block;
                            border: 1px solid #ddd;
                            float: left;
                        }
                        .plus{
                            width: 34px;
                            height: 36px;
                            line-height: 36px;
                            text-align: center;
                            display: block;
                            border: 1px solid #ddd;
                            float: left;
                        }
                        .nummidbtn{
                            width: 58px;
                            height: 34px;
                            border: 1px solid #ddd;
                            border-left: none;
                            border-right: none;
                            text-align: center;
                            line-height: 34px;
                            color: #333;
                            display: block;
                            font-size: 14px;
                            cursor: default;
                            float: left;
                        }
                    }
    
                }
                &-buy{
                    margin-top: 25px;
                    a{
                        display: block;
                        width: 160px;
                        height: 40px;
                        line-height: 40px;
                        text-align: center;
                        font-size: 20px;
                        color: #fff;
                        opacity: 1;
                    }
                    .joincart-btn{
                        background: #fff;
                        border: 1px solid #008ae5;
                        color: #008ae5;
                        float: left;
                    }
                }
            }
        }
        
    }
    .mid-product-detail{
        width: 1240px;
        margin-left: 40px;
        text-align: center;
        height: auto;
        overflow: hidden;
        h3{
            font-size: 18px;
        }
        ul{
            width: 100%;
            height: auto;
            li{
                img{
                    margin-top:50px;
                    width: 800px;
                }
            }
        }
    }
}